package cn.itcast.order.config;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@Slf4j
public class Rule {
    /*@Bean
    public IRule RandomRule() {
        log.info("负载均衡策略：{}","正在加载...");
        return new RandomRule();
    }*/
}
